home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 18 / Silicon_Graphics_hot mix 18.iso / html / hotmix / check4cc.csh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1998-03-04  |  465 b   |  10 lines

  1. #!/bin/csh
  2.  
  3. set v=`versions | grep c++_eoe.sw32.lib`
  4. set c=`versions | grep compiler_eoe.sw32.lib`
  5. if (("$v" != "") && ("$c" != "")) then 
  6.     set junk=`$HOTMIXDIR/.bin/xconfirm -icon info -t "You HAVE the c++ and compiler execution environment installed." -B OK -header "No need to install"`
  7. else
  8.     set junk=`$HOTMIXDIR/.bin/xconfirm -icon action -t "You do NOT have the c++ and compiler execution environment installed." -B OK -header "You need to install..."`
  9. endif
  10.